package com.lhl.dao;

import com.lhl.entity.Student;

import java.util.List;

public interface StudentDao {
    //查询所有学生
    List<Student> queryAllStudents();
    //根据id查询学生
    Student queryStudent(int id);
    //添加学生信息
    int insertStudent(Student student);
    //修改学生信息
    int updateStudent(Student student);
    //根据id删除学生信息
    int deleteStudent(int id);
}
